#include <iostream>

using namespace std;

class Box {
    protected:
        double width;
};

class SmallBox:Box {
    public:
        void setSwidth(double wid);
        double getSwidth(void);
};

double SmallBox::getSwidth(void) {
    return width;
}

void SmallBox::setSwidth(double wid) {
    width = wid;
}

int main() {
    SmallBox box;
    box.setSwidth(6.6);
    cout << "Width of box : " << box.getSwidth() << endl;
    return 0;
}